﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

using Unis.Framework.ORM.Attributes;


namespace KingRoad.EPM.PersonnelLogEntity.Model
{
    /// <summary> 
    /// 文件生成时间 2017/3/13 14:46:26
    /// </summary> 
    [Serializable]
    [ModelMap("Scm_ThreePersonnel", new string[] { "Tp_ID" })]
    public class ScmThreepersonnelInfo : BaseEntity
    {
        public ScmThreepersonnelInfo()
        {

        }
        
        
        private string _tpId;
        /// <summary>
        /// 主键
        /// </summary>
        [ColumnMap("Tp_ID", System.Data.DbType.String)]
        public string Tp_ID
        {
            get {return _tpId;}
            set
            {
                if (object.Equals(this._tpId, value) != true)
                {
                    this._tpId = value;
                    this.RaisePropertyChanged("Tp_ID");
                }
            }
        }
        
        
        private int _tpUserid;
        /// <summary>
        /// 操作人ID
        /// </summary>
        [ColumnMap("Tp_UserID", System.Data.DbType.Int32)]
        public int Tp_UserID
        {
            get {return _tpUserid;}
            set
            {
                if (object.Equals(this._tpUserid, value) != true)
                {
                    this._tpUserid = value;
                    this.RaisePropertyChanged("Tp_UserID");
                }
            }
        }
        
        
        private string _tpUsername;
        /// <summary>
        /// 操作人名称
        /// </summary>
        [ColumnMap("Tp_UserName", System.Data.DbType.String)]
        public string Tp_UserName
        {
            get {return _tpUsername;}
            set
            {
                if (object.Equals(this._tpUsername, value) != true)
                {
                    this._tpUsername = value;
                    this.RaisePropertyChanged("Tp_UserName");
                }
            }
        }
        
        
        private DateTime _tpTime;
        /// <summary>
        /// 操作时间
        /// </summary>
        [ColumnMap("Tp_Time", System.Data.DbType.DateTime)]
        public DateTime Tp_Time
        {
            get {return _tpTime;}
            set
            {
                if (object.Equals(this._tpTime, value) != true)
                {
                    this._tpTime = value;
                    this.RaisePropertyChanged("Tp_Time");
                }
            }
        }
        
        
        private string _tpSection;
        /// <summary>
        /// 标段
        /// </summary>
        [ColumnMap("Tp_Section", System.Data.DbType.String)]
        public string Tp_Section
        {
            get {return _tpSection;}
            set
            {
                if (object.Equals(this._tpSection, value) != true)
                {
                    this._tpSection = value;
                    this.RaisePropertyChanged("Tp_Section");
                }
            }
        }
        
        
        private int _tpUnitid;
        /// <summary>
        /// 施工单位ID
        /// </summary>
        [ColumnMap("Tp_UnitID", System.Data.DbType.Int32)]
        public int Tp_UnitID
        {
            get {return _tpUnitid;}
            set
            {
                if (object.Equals(this._tpUnitid, value) != true)
                {
                    this._tpUnitid = value;
                    this.RaisePropertyChanged("Tp_UnitID");
                }
            }
        }
        
        
        private string _tpUnitname;
        /// <summary>
        /// 施工单位名称
        /// </summary>
        [ColumnMap("Tp_UnitName", System.Data.DbType.String)]
        public string Tp_UnitName
        {
            get {return _tpUnitname;}
            set
            {
                if (object.Equals(this._tpUnitname, value) != true)
                {
                    this._tpUnitname = value;
                    this.RaisePropertyChanged("Tp_UnitName");
                }
            }
        }
        
        
        private string _tpName;
        /// <summary>
        /// 姓名
        /// </summary>
        [ColumnMap("Tp_Name", System.Data.DbType.String)]
        public string Tp_Name
        {
            get {return _tpName;}
            set
            {
                if (object.Equals(this._tpName, value) != true)
                {
                    this._tpName = value;
                    this.RaisePropertyChanged("Tp_Name");
                }
            }
        }
        
        
        private string _tpSex;
        /// <summary>
        /// 性别
        /// </summary>
        [ColumnMap("Tp_Sex", System.Data.DbType.String)]
        public string Tp_Sex
        {
            get {return _tpSex;}
            set
            {
                if (object.Equals(this._tpSex, value) != true)
                {
                    this._tpSex = value;
                    this.RaisePropertyChanged("Tp_Sex");
                }
            }
        }
        
        
        private string _tpPost;
        /// <summary>
        /// 职务
        /// </summary>
        [ColumnMap("Tp_Post", System.Data.DbType.String)]
        public string Tp_Post
        {
            get {return _tpPost;}
            set
            {
                if (object.Equals(this._tpPost, value) != true)
                {
                    this._tpPost = value;
                    this.RaisePropertyChanged("Tp_Post");
                }
            }
        }
        
        
        private string _tpCertificatenumber;
        /// <summary>
        /// 证书编号
        /// </summary>
        [ColumnMap("Tp_CertificateNumber", System.Data.DbType.String)]
        public string Tp_CertificateNumber
        {
            get {return _tpCertificatenumber;}
            set
            {
                if (object.Equals(this._tpCertificatenumber, value) != true)
                {
                    this._tpCertificatenumber = value;
                    this.RaisePropertyChanged("Tp_CertificateNumber");
                }
            }
        }
        
        
        private DateTime? _tpIssuedate;
        /// <summary>
        /// 发证日期
        /// </summary>
        [ColumnMap("Tp_IssueDate", System.Data.DbType.DateTime)]
        public DateTime? Tp_IssueDate
        {
            get {return _tpIssuedate;}
            set
            {
                if (object.Equals(this._tpIssuedate, value) != true)
                {
                    this._tpIssuedate = value;
                    this.RaisePropertyChanged("Tp_IssueDate");
                }
            }
        }
        
        
        private DateTime? _tpValiditydate;
        /// <summary>
        /// 证件有效期
        /// </summary>
        [ColumnMap("Tp_ValidityDate", System.Data.DbType.DateTime)]
        public DateTime? Tp_ValidityDate
        {
            get {return _tpValiditydate;}
            set
            {
                if (object.Equals(this._tpValiditydate, value) != true)
                {
                    this._tpValiditydate = value;
                    this.RaisePropertyChanged("Tp_ValidityDate");
                }
            }
        }
        
        
        private string _tpQualificationtype;
        /// <summary>
        /// 资格类型
        /// </summary>
        [ColumnMap("Tp_QualificationType", System.Data.DbType.String)]
        public string Tp_QualificationType
        {
            get {return _tpQualificationtype;}
            set
            {
                if (object.Equals(this._tpQualificationtype, value) != true)
                {
                    this._tpQualificationtype = value;
                    this.RaisePropertyChanged("Tp_QualificationType");
                }
            }
        }
        
        
        private bool? _tpIsinterview;
        /// <summary>
        /// 是否面试合格
        /// </summary>
        [ColumnMap("Tp_IsInterview", System.Data.DbType.Boolean)]
        public bool? Tp_IsInterview
        {
            get {return _tpIsinterview;}
            set
            {
                if (object.Equals(this._tpIsinterview, value) != true)
                {
                    this._tpIsinterview = value;
                    this.RaisePropertyChanged("Tp_IsInterview");
                }
            }
        }
        
        
        private bool? _tpIschange;
        /// <summary>
        /// 是否变更人员
        /// </summary>
        [ColumnMap("Tp_IsChange", System.Data.DbType.Boolean)]
        public bool? Tp_IsChange
        {
            get {return _tpIschange;}
            set
            {
                if (object.Equals(this._tpIschange, value) != true)
                {
                    this._tpIschange = value;
                    this.RaisePropertyChanged("Tp_IsChange");
                }
            }
        }
        
        
        private string _tpRemark;
        /// <summary>
        /// 备注
        /// </summary>
        [ColumnMap("Tp_Remark", System.Data.DbType.String)]
        public string Tp_Remark
        {
            get {return _tpRemark;}
            set
            {
                if (object.Equals(this._tpRemark, value) != true)
                {
                    this._tpRemark = value;
                    this.RaisePropertyChanged("Tp_Remark");
                }
            }
        }
        
        
        private byte[] _tpTimestamp;
        /// <summary>
        /// 时间戳
        /// </summary>
        [ColumnMap("Tp_TimeStamp", System.Data.DbType.Binary)]
        public byte[] Tp_TimeStamp
        {
            get {return _tpTimestamp;}
            set
            {
                if (object.Equals(this._tpTimestamp, value) != true)
                {
                    this._tpTimestamp = value;
                    this.RaisePropertyChanged("Tp_TimeStamp");
                }
            }
        }
        
        
    }
}



